Sets the column names for the table. The count of array names must equal the count of table columns. Each element must not be null or empty and each element must be unique (not case sensitive) in the array names.
'Declaration
Public Function SetColumnNames( _
ByVal () As String _
) As Boolean
'Usage
Dim instance As TableView
Dim names() As String
Dim value As Boolean
value = instance.SetColumnNames(names)
public bool SetColumnNames(
string[]
)
Parameters
- names
- Array of table column names.
Return Value
true if set successfully; otherwise, returns false.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10